\hypertarget{classvertex__2d}{}\section{vertex\+\_\+2d Class Reference}
\label{classvertex__2d}\index{vertex\+\_\+2d@{vertex\+\_\+2d}}


class for a \hyperlink{classvertex__2d}{vertex\+\_\+2d}  




{\ttfamily \#include $<$structs.\+h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classvertex__2d_a03bffd458f04065c2d51e4f4272b3b25}{vertex\+\_\+2d} (float \hyperlink{classvertex__2d_a73ad38186170ef31f5fca79eac4d3770}{x}, float \hyperlink{classvertex__2d_a11843935c1197d25dba231bbc767a97a}{y})
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\hyperlink{classvertex__2d_a8e3ed77b4a5e59a57aead0fef79a3fb0}{vertex\+\_\+2d} ()
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
bool \hyperlink{classvertex__2d_a5003e0efb7b170c0c0577efa93352ba0}{operator==} (const \hyperlink{classvertex__2d}{vertex\+\_\+2d} \&rhs)
\begin{DoxyCompactList}\small\item\em bool operator == for \hyperlink{classvertex__2d}{vertex\+\_\+2d} \end{DoxyCompactList}\item 
bool \hyperlink{classvertex__2d_a76fd20de06b76243194e5bd09a6494ad}{operator$<$} (const \hyperlink{classvertex__2d}{vertex\+\_\+2d} \&rhs)
\begin{DoxyCompactList}\small\item\em bool operator $<$ for \hyperlink{classvertex__2d}{vertex\+\_\+2d} \end{DoxyCompactList}\item 
void \hyperlink{classvertex__2d_ac2ea8109fd2ae08d693e9b654c90cb29}{shift\+\_\+it} (\hyperlink{classvertex__2d}{vertex\+\_\+2d} ref\+\_\+vertex)
\begin{DoxyCompactList}\small\item\em function to shift a vertex wrt to a reference vertex \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
float \hyperlink{classvertex__2d_a73ad38186170ef31f5fca79eac4d3770}{x}
\begin{DoxyCompactList}\small\item\em x-\/coordinate of the vertex \end{DoxyCompactList}\item 
float \hyperlink{classvertex__2d_a11843935c1197d25dba231bbc767a97a}{y}
\begin{DoxyCompactList}\small\item\em y-\/coordinate of the vertex \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
class for a \hyperlink{classvertex__2d}{vertex\+\_\+2d} 

Definition at line 10 of file structs.\+h.



\subsection{Constructor \& Destructor Documentation}
\index{vertex\+\_\+2d@{vertex\+\_\+2d}!vertex\+\_\+2d@{vertex\+\_\+2d}}
\index{vertex\+\_\+2d@{vertex\+\_\+2d}!vertex\+\_\+2d@{vertex\+\_\+2d}}
\subsubsection[{\texorpdfstring{vertex\+\_\+2d(float x, float y)}{vertex_2d(float x, float y)}}]{\setlength{\rightskip}{0pt plus 5cm}vertex\+\_\+2d\+::vertex\+\_\+2d (
\begin{DoxyParamCaption}
\item[{float}]{x, }
\item[{float}]{y}
\end{DoxyParamCaption}
)}\hypertarget{classvertex__2d_a03bffd458f04065c2d51e4f4272b3b25}{}\label{classvertex__2d_a03bffd458f04065c2d51e4f4272b3b25}


Constructor. 



Definition at line 7 of file structs.\+cpp.

\index{vertex\+\_\+2d@{vertex\+\_\+2d}!vertex\+\_\+2d@{vertex\+\_\+2d}}
\index{vertex\+\_\+2d@{vertex\+\_\+2d}!vertex\+\_\+2d@{vertex\+\_\+2d}}
\subsubsection[{\texorpdfstring{vertex\+\_\+2d()}{vertex_2d()}}]{\setlength{\rightskip}{0pt plus 5cm}vertex\+\_\+2d\+::vertex\+\_\+2d (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\hypertarget{classvertex__2d_a8e3ed77b4a5e59a57aead0fef79a3fb0}{}\label{classvertex__2d_a8e3ed77b4a5e59a57aead0fef79a3fb0}


Constructor. 



Definition at line 12 of file structs.\+cpp.



\subsection{Member Function Documentation}
\index{vertex\+\_\+2d@{vertex\+\_\+2d}!operator$<$@{operator$<$}}
\index{operator$<$@{operator$<$}!vertex\+\_\+2d@{vertex\+\_\+2d}}
\subsubsection[{\texorpdfstring{operator$<$(const vertex\+\_\+2d \&rhs)}{operator<(const vertex_2d &rhs)}}]{\setlength{\rightskip}{0pt plus 5cm}bool vertex\+\_\+2d\+::operator$<$ (
\begin{DoxyParamCaption}
\item[{const {\bf vertex\+\_\+2d} \&}]{rhs}
\end{DoxyParamCaption}
)}\hypertarget{classvertex__2d_a76fd20de06b76243194e5bd09a6494ad}{}\label{classvertex__2d_a76fd20de06b76243194e5bd09a6494ad}


bool operator $<$ for \hyperlink{classvertex__2d}{vertex\+\_\+2d} 



Definition at line 22 of file structs.\+cpp.

\index{vertex\+\_\+2d@{vertex\+\_\+2d}!operator==@{operator==}}
\index{operator==@{operator==}!vertex\+\_\+2d@{vertex\+\_\+2d}}
\subsubsection[{\texorpdfstring{operator==(const vertex\+\_\+2d \&rhs)}{operator==(const vertex_2d &rhs)}}]{\setlength{\rightskip}{0pt plus 5cm}bool vertex\+\_\+2d\+::operator== (
\begin{DoxyParamCaption}
\item[{const {\bf vertex\+\_\+2d} \&}]{rhs}
\end{DoxyParamCaption}
)}\hypertarget{classvertex__2d_a5003e0efb7b170c0c0577efa93352ba0}{}\label{classvertex__2d_a5003e0efb7b170c0c0577efa93352ba0}


bool operator == for \hyperlink{classvertex__2d}{vertex\+\_\+2d} 



Definition at line 17 of file structs.\+cpp.

\index{vertex\+\_\+2d@{vertex\+\_\+2d}!shift\+\_\+it@{shift\+\_\+it}}
\index{shift\+\_\+it@{shift\+\_\+it}!vertex\+\_\+2d@{vertex\+\_\+2d}}
\subsubsection[{\texorpdfstring{shift\+\_\+it(vertex\+\_\+2d ref\+\_\+vertex)}{shift_it(vertex_2d ref_vertex)}}]{\setlength{\rightskip}{0pt plus 5cm}void vertex\+\_\+2d\+::shift\+\_\+it (
\begin{DoxyParamCaption}
\item[{{\bf vertex\+\_\+2d}}]{ref\+\_\+vertex}
\end{DoxyParamCaption}
)}\hypertarget{classvertex__2d_ac2ea8109fd2ae08d693e9b654c90cb29}{}\label{classvertex__2d_ac2ea8109fd2ae08d693e9b654c90cb29}


function to shift a vertex wrt to a reference vertex 


\begin{DoxyParams}{Parameters}
{\em ref\+\_\+vertex} & reference vertex chosen as origin \\
\hline
\end{DoxyParams}


Definition at line 31 of file structs.\+cpp.



\subsection{Member Data Documentation}
\index{vertex\+\_\+2d@{vertex\+\_\+2d}!x@{x}}
\index{x@{x}!vertex\+\_\+2d@{vertex\+\_\+2d}}
\subsubsection[{\texorpdfstring{x}{x}}]{\setlength{\rightskip}{0pt plus 5cm}float vertex\+\_\+2d\+::x}\hypertarget{classvertex__2d_a73ad38186170ef31f5fca79eac4d3770}{}\label{classvertex__2d_a73ad38186170ef31f5fca79eac4d3770}


x-\/coordinate of the vertex 



Definition at line 12 of file structs.\+h.

\index{vertex\+\_\+2d@{vertex\+\_\+2d}!y@{y}}
\index{y@{y}!vertex\+\_\+2d@{vertex\+\_\+2d}}
\subsubsection[{\texorpdfstring{y}{y}}]{\setlength{\rightskip}{0pt plus 5cm}float vertex\+\_\+2d\+::y}\hypertarget{classvertex__2d_a11843935c1197d25dba231bbc767a97a}{}\label{classvertex__2d_a11843935c1197d25dba231bbc767a97a}


y-\/coordinate of the vertex 



Definition at line 13 of file structs.\+h.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
\hyperlink{structs_8h}{structs.\+h}\item 
/home/manish/\+Desktop/\+Manish\+\_\+\+C\+A\+D\+\_\+\+Tool/src/\hyperlink{structs_8cpp}{structs.\+cpp}\end{DoxyCompactItemize}
